let Main = () => import("../views/main")
export default [
    {
        path: "operation",
        name: "operation",
        component: Main,
        meta: {
            title: "运营管理",
            icon: "icon-yunying"
        },
        children: [
            {
                path: "comment",
                name: "comment",
                component: () => import("../pages/operation/comment.vue"),
                meta: {
                    title: "评论管理"
                }
            },
            {
                path: "order",
                name: "order",
                component: () => import("../pages/operation/order.vue"),
                meta: {
                    title: "订单管理"
                }
            },
            {
                path: "freight",
                name: "freight",
                component: () => import("../pages/operation/freight.vue"),
                meta: {
                    title: "运费管理"
                }
            },
        ]
    },
    {
        path: "commodity",
        name: "commodity",
        component: Main,
        meta: {
            title: "商品管理",
            icon: "icon-shangpinguanli"
        },
        children: [
            {
                path: "Category",
                name: "Category",
                component: () => import("../pages/commodity/Category.vue"),
                meta: {
                    title: "类目管理"
                }
            },
            {
                path: "Group",
                name: "Group",
                component: () => import("../pages/commodity/Group.vue"),
                meta: {
                    title: "团购商品"
                }
            },
            {
                path: "list",
                name: "list",
                component: () => import("../pages/commodity/list.vue"),
                meta: {
                    title: "商品列表"
                }
            },
        ]
    },
    {
        path: "extension",
        name: "extension",
        component: Main,
        meta: {
            title: "推广管理",
            icon: "icon-fenlei"
        },
        children: [
            {
                path: "advertisement",
                name: "advertisement",
                component: () => import("../pages/extension/advertisement.vue"),
                meta: {
                    title: "广告管理"
                }
            },
            {
                path: "coupon",
                name: "coupon",
                component: () => import("../pages/extension/coupon.vue"),
                meta: {
                    title: "优惠券管理"
                }
            },
        ]
    },
    {
        path: "user",
        name: "user",
        component: Main,
        meta: {
            title: "用户管理",
            icon: "icon-yonghu3"
        },
        children: [
            {
                path: "address",
                name: "address",
                component: () => import("../pages/user/address.vue"),
                meta: {
                    title: "地址管理"
                }
            },
            {
                path: "member",
                name: "member",
                component: () => import("../pages/user/member.vue"),
                meta: {
                    title: "会员管理"
                }
            },
        ]
    },
    {
        path: "system",
        name: "system",
        component: Main,
        meta: {
            title: "系统管理",

            icon: "icon-shezhi"
        },
        children: [
            {
                path: "administrators",
                name: "administrators",
                component: () => import("../pages/system/administrators.vue"),
                meta: {
                    title: "管理员"
                }
            },
            {
                path: "configuration",
                name: "configuration",
                component: () => import("../pages/system/configuration.vue"),
                meta: {
                    title: "系统配置"
                }
            },
            {
                path: "Dailyoperation",
                name: "Dailyoperation",
                component: () => import("../pages/system/Dailyoperation.vue"),
                meta: {
                    title: "操作日常"
                }
            },
            {
                path: "role",
                name: "role",
                component: () => import("../pages/system/role.vue"),
                meta: {
                    title: "角色管理"
                }
            },
        ]
    },
]